<?php

class Model_Account extends Model
{
	function __construct($id = 0)
	{
		parent::__construct();
		$this->properties['accounts'] = array(
		    'id',
		    'login',
			'password',
			'name',
			'utype',
		);
		if ($id)
		{
		    $this->getById($id);
		}
	}
}